package com.travel.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Image {
    private Long id;  // 主键

    private String url;  // 图片的URL或路径

    private String type;  // 图片类别：banner, category, special_product, avatar

    private String description;  // 图片描述或备注

    private LocalDateTime uploadTime;  // 图片上传时间
}
